package dao.reader;

import dao.BaseDao;
import dao.DaoException;
import model.Reader;

public interface ReaderDao extends BaseDao {
    //添加用户
    boolean addReader(Reader reader) throws DaoException;

    //按照用户名查找用户密码
    Reader readerLogin(String name, String password) throws DaoException;
}
